import Cookies from 'js-cookie';
export const setCookieFun = (name: string, value: string) => {
  Cookies.set(name, value, { expires: 7 });
};

export const getCookieFun = (name: string): string => {
  return Cookies.get(name);
};

export const removeCookieFun = (name: string) => {
  Cookies.remove(name);
};

// export const clearCookieFun = () => {
//   clearCookie()
// }
